package com.wing.device.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.device.model.entity.DeviceBrand;
import com.wing.device.model.request.DeviceBrandForm;
import com.wing.device.model.response.DeviceBrandVO;

import java.util.List;
import java.util.Map;

/**
 * 设备品牌-Service
 *
 * @author
 */
public interface DeviceBrandService extends IService<DeviceBrand> {

    /**
     * 添加
     *
     * @param deviceBrandForm
     * @return
     */
    int add(DeviceBrandForm deviceBrandForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<DeviceBrandVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<DeviceBrandVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    DeviceBrandVO get4appById(Long id);
}
